import { postRequestJson, postRequestList } from '../utils/request'
export const getDashboardSpuSale = <T>(data?: any): Promise<IResponseList<T>> =>
  postRequestList(`/api/sop/sop/dashboardSpuSale/pageList`, data, { timeout: 60000 })
export const exportListDashboardSpuSale = <T>(data?: any): Promise<IResponsePost<T>> =>
  postRequestJson(`/api/sop/sop/dashboardSpuSale/exportList`, data)
export const getQuotationSearchCondition = <T>(data?: any): Promise<IResponsePost<T>> =>
  postRequestJson(`/api/sop/sop/dashboardSpuSale/getQuotationSearchCondition`, data)
